package com.spdd.mt.biz.mapper;

import com.spdd.mt.biz.vo.StatisticRechargeBean;
import org.apache.ibatis.annotations.Mapper;
import com.spdd.mt.biz.entity.MtRechargeOrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * MtRechargeOrder02504 Mapper接口
 * </p>
 *
 * @author shanfeilong
 * @since 2025-04-02
 */
@Mapper
public interface MtRechargeOrderMapper extends BaseMapper<MtRechargeOrderEntity> {

    List<StatisticRechargeBean> getSuccessStatistic(@Param("month") String month,
                                                 @Param("tradeDate") String tradeDate,
                                                 @Param("merchNo") String merchNo);

    List<StatisticRechargeBean> getTotalStatistic(@Param("month") String month,
                                                  @Param("tradeDate") String tradeDate,
                                                  @Param("merchNo") String merchNo);

    List<StatisticRechargeBean> getRateStatistic(@Param("month") String month,
                                                 @Param("tradeDate") String tradeDate,
                                                 @Param("time") Integer time,
                                                 @Param("merchNo") String merchNo);
}